JSONObject methods added.