Parsing JSON data to create a stat report