JSONObject model to Java class model