CLC-3447 Reformat stats api as numbers to make it easier to use in other tools

https://jira.ets.berkeley.edu/jira/browse/CLC-3447

For example, ccdash: https://github.com/ctweney/ccdash/tree/hotPlateStats