docs: private void enumerate(NamingEnumeration<NameClassPair> list, String path, PrintWriter out) throws NamingException {
          while (list.hasMore()) {
              NameClassPair listItem = list.next();
  
              out.print(indent);
              out.println("{");
              out.print(indent+"  ");
              out.print("name: \"");
              out.print(listItem.getName());
              /*out.print(" (");
              out.print(listItem.getClassName());
              out.println(")");*/
              out.println("\"");
              if (listItem.getClassName().endsWith("Context")) {
                  out.println(",");
                  out.print(indent+"  ");
                  out.println("children: [");
  
                  String newPath = path + listItem.getName();
                  NamingEnumeration<NameClassPair> children = context.list(newPath);
  
                  indent += "  ";
                  enumerate(children, newPath + '/', out);
                  indent = indent.substring(0, indent.length() - 2);
                  out.print(indent+"  ");
                  out.println("]");
              }
              out.print(indent);
              out.println("},");
          }
      }