JSON metrics reporting.