metrics as json, useful to generate d3js charts.