presto-main/src/main/java/io/prestosql/sql/planner/planprinter/PlanPrinter.java/PlanPrinter/toJson
class PlanPrinter:    private String toJson()
    {
        return new JsonRenderer().render(representation);
    }