Convert Solr JSON pivot facet output to the "flare" JSON format used by D3 for hierarchical visualizations.