code: public static String getPlanAsJSON(Plan plan) {
  		PlanJSONDumpGenerator gen = new PlanJSONDumpGenerator();
  		List<DataSinkNode> sinks = PactCompiler.createPreOptimizedPlan(plan);
  		return gen.getPactPlanAsJSON(sinks);
  	}
docs: Return unoptimized plan as JSON.
  @return