Made summary data into a json object readable by D3