@Override
    public Coordinate deserialize(JsonParser p, DeserializationContext ctxt) throws IOException {
      var dsOption = doubleListFromCommaList(p.getValueAsString(), 2, 3, strict);
      if (dsOption.isEmpty()) {
        return null;
      }
      final List<Double> ds = dsOption.get();
      if (ds.size() == 2) {
        return new CoordinateXY(ds.get(0), ds.get(1));
      } else {
        return new Coordinate(ds.get(0), ds.get(1), ds.get(2));
      }
    }
Container for everything related to (de-)serialization of {@link TileArchiveMetadata}
planetiler-core/src/main/java/com/onthegomap/planetiler/archive/TileArchiveMetadataDeSer.java