fix logging interface. Only allows standard android JSONObject class instances