JK: Added default values to JSONObject optString and optLong calls.