Add a second descendants option that instead of tracking depth tracks the parent id and organizes the results in a tree structure instead of a list.