private static void serializeEscapedJson(Object value, JsonGenerator gen) throws IOException {
    final ObjectCodec codec = gen.getCodec();
    final StringWriter writer = new StringWriter();
    final JsonGenerator subGen = gen.getCodec().getFactory().createGenerator(writer);
    codec.writeValue(subGen, value);
    final String escapedJson = writer.toString();
    gen.writeString(escapedJson);
  }
Container for everything related to (de-)serialization of {@link TileArchiveMetadata}
planetiler-core/src/main/java/com/onthegomap/planetiler/archive/TileArchiveMetadataDeSer.java