Parsing Solr response correctly when both search results and groups are present