Consider simplifying the code by replacing new JSONObject(JSONObject.getString(...)) with JSONObject.getJSONObject(...).
new JSONObject(JSONObject.getString(...))
JSONObject.getJSONObject(...)