fixed key error in highcharts series generation