JSON Array format for Scatter plot changed