presto-cli/src/main/java/io/prestosql/cli/JsonPrinter.java/JsonPrinter/JsonPrinter
class JsonPrinter:    public JsonPrinter(List<String> fieldNames, Writer writer)
    {
        this.fieldNames = ImmutableList.copyOf(requireNonNull(fieldNames, "fieldNames is null"));
        this.writer = requireNonNull(writer, "writer is null");
    }