Added import from JSONObject and export to JsonWriter