@SuppressWarnings("unchecked")
  public static <O> O convert(Object in, Class<O> out) {
    if (in == NullT.NullValue) {
      return null;
    }
    if (in == null || out.isInstance(in)) {
      return (O) in;
    }
    for (var converter : CONVERTERS) {
      if (converter.canConvertBetween(in.getClass(), out)) {
        return (O) converter.apply(in);
      }
    }
    throw new IllegalArgumentException(
      "No conversion from " + in.getClass().getSimpleName() + " to " + out.getSimpleName());
  }
Attempts to coerce {@code in} to an instance {@code out} using the first registered conversion functions that
applies.

@throws IllegalArgumentException if there is no available conversion
planetiler-custommap/src/main/java/com/onthegomap/planetiler/custommap/TypeConversion.java