LPS-46394 Make JSONObject/JSONArray to be serializable