null pointer with wsgen and JSONObject