code: public JSONObject toJSON() {
          JSONObject ret = super.toJSON();
          if (arguments != null && arguments.size() > 0) {
              ret.put("arguments", arguments);
          }
          ret.put("operation", operation);
          return ret;
      }
docs: Return this request in a proper JSON representation
  @return this object in a JSON representation