@Override
    public void endRP() throws IOException {
      generator.writeEndObject();
    }
Formats a resource plan into a json object, the structure is as follows:
{
   name: "<rp_name>",
   parallelism: "<parallelism>",
   defaultQueue: "<defaultQueue>",
   pools : [
     {
       name: "<pool_name>",
       parallelism: "<parallelism>",
       schedulingPolicy: "<policy>",
       triggers: [
         { name: "<triggerName>", trigger: "<trigExpression>", action: "<actionExpr">}
         ...
       ]
     }
     ...
   ]
}
ql/src/java/org/apache/hadoop/hive/ql/ddl/workloadmanagement/resourceplan/show/formatter/JsonShowResourcePlanFormatter.java