smartConnect.candleData(JSONObject) throwing JSONObject["data"] is not a string (class org.json.JSONArray) since the data field is of type JSONArray