I\'m trying to return nodes in hierarchies of varying length from a neo4j database. I need the data in a few different forms of grouping (sometimes as a list, sometimes as a lis