format json for metricsgraphics yay