presto-benchmark/src/main/java/io/prestosql/benchmark/JsonBenchmarkResultWriter.java/JsonBenchmarkResultWriter/finished
class JsonBenchmarkResultWriter:    @Override
    public void finished()
    {
        try {
            jsonGenerator.writeEndArray();
            jsonGenerator.writeEndObject();
            jsonGenerator.close();
        }
        catch (IOException e) {
            throw new UncheckedIOException(e);
        }
    }