Reworked statistics response to make it easier for frontend.
Merge remote-tracking branch 'origin/master'