mimicked the 'faceted' json output from solr