code: private static void dumpConfiguration(Writer writer) throws IOException {
      Configuration.dumpConfiguration(new JobConf(), writer);
      writer.write("\n");
      // get the QueueManager configuration properties
      QueueManager.dumpConfiguration(writer);
      writer.write("\n");
    }
docs: Dumps the configuration properties in Json format
  @param writer {@link}Writer object to which the output is written
  @throws IOException