change JSONArray type in TimeScale