Store some metrics in the json and adjust the format accordingly.