rollback JSONObject support (reverted from commit fdd5bfcfb9a665a0cbd8463589caaa58c2eaa7a9)