Make getJSONObject() method public