code: public JSONObject toJSONObject() {
          JSONObject resp = new JSONObject();
          add(resp, URL,url);
          if (secured != null) {
              add(resp, SECURED, secured);
          }
          add(resp, SERVER_VENDOR, serverVendor);
          add(resp, SERVER_PRODUCT, serverProduct);
          add(resp, SERVER_VERSION, serverVersion);
          add(resp, AGENT_VERSION, agentVersion);
          add(resp, AGENT_ID, agentId);
          add(resp, AGENT_DESCRIPTION,agentDescription);
          return resp;
      }
docs: Get the details as JSON Object
  
  @return