grouped data from both JSON and added the team result to the page template