Build json for statisticReport