code: @Deprecated
      public Map serialize() throws OpsGenieClientValidationException {
          validate();
          try {
              return JsonUtils.toMap(this);
          } catch (Exception e) {
              e.printStackTrace();
          }
          return null;
      }
docs: convertes request to map