fix json facet output.