docs: String serialize(Object o) {
          String body;
          try {
              body = new String(JsonSerializer.serialize(o));
          } catch (IOException e) {
              throw new ServiceException(ErrorCode.HTTP_CLIENT_ERROR,
                      ErrorCode.HTTP_CLIENT_ERROR.getMessageTemplate(),
                      "serialize failed.");
          }
          return body;
      }