Enabled serialization to JSONObject and JSONArray