code: public static String toRepr(Object value, EvaluationContext ctx) {
          String asString = Conversions.toString(value, ctx);
  
          if (value instanceof String || value instanceof LocalDate || value instanceof OffsetTime || value instanceof ZonedDateTime) {
              asString = asString.replace("\"", "\"\""); // escape quotes by doubling
              asString = "\"" + asString + "\"";
          }
  
          return asString;
      }
docs: Converts a value back to its representation form, e.g. x -> "x"