code: private static String toStringValue(Object headerValue) {
      return headerValue instanceof Enum<?>
          ? FieldInfo.of((Enum<?>) headerValue).getName()
          : headerValue.toString();
    }
docs: Returns the string header value for the given header value as an object.