docs: public void serialize(Map<String, T> map, OutputStream os) throws IOException {
          JsonGenerator jsonGenerator = LoganSquare.JSON_FACTORY.createGenerator(os);
          serialize(map, jsonGenerator);
          jsonGenerator.close();
      }