code: public <T extends Enum<T>> String serializeToQueryParams(T value) {
          return (String) objectMapper.convertValue(value, String.class);
      }
docs: Serialize the given model to a representation suitable for using as URL query parameters.
  
  @param value The value to serialize
  @param <T>   The type of the value to serialize.
  @return The string value for using as query parameters.