Changes JSON output format, courtesy Raydiation.

Todo : Ask why useInGroups outputs null, if called recursively.