MessageCallback.on now expects JSONObject's, however, sometimes a String is passed, which causes a conversion exception. I think the method signature should be changed to Object...