formating the data returned so I can plug it into highcharts