JSONArray to string and then to jsonobject