docs: public static Object toDocumentDBValue(Object fromPropertyValue) {
          if (fromPropertyValue == null) {
              return null;
          }
  
          // com.microsoft.azure.documentdb.JsonSerializable#set(String, T) cannot set values for Date and Enum correctly
          if (fromPropertyValue instanceof Date) {
              fromPropertyValue = ((Date) fromPropertyValue).getTime();
          } else if (fromPropertyValue instanceof ZonedDateTime) {
              fromPropertyValue = ((ZonedDateTime) fromPropertyValue)
                      .format(DateTimeFormatter.ofPattern(ISO_8601_COMPATIBLE_DATE_PATTERN));
          } else if (fromPropertyValue instanceof Enum) {
              fromPropertyValue = fromPropertyValue.toString();
          }
  
          return fromPropertyValue;
      }