private void writeTranslations(LongObjectMap<Map<String, String>> results, LongObjectMap<Instant> updateTimes)
    throws IOException {
    final long updateTimeDefault = Instant.now().toEpochMilli();
    for (LongObjectCursor<Map<String, String>> cursor : results) {
      long updateTime =
        updateTimes.containsKey(cursor.key) ? updateTimes.get(cursor.key).toEpochMilli() : updateTimeDefault;
      writer.write(objectMapper.writeValueAsString(List.of(
        Long.toString(cursor.key),
        cursor.value,
        updateTime
      )));
      writer.write(System.lineSeparator());
    }
    writer.flush();
  }
Flushes a batch of translations to disk.
planetiler-core/src/main/java/com/onthegomap/planetiler/util/Wikidata.java