Normalize stats API output
Generalise name of streak computation