converted tag data into highcharts format