Allow grouping by parents

Let items by grouped under headers, from a parent item in the results json