code: public static String exportTypeSystem() {
        Resource out = new StringResource();
        try {
           exportTypeSystem(out);
           return out.readToString().trim();
        } catch (IOException e) {
           throw Throwables.propagate(e);
        }
     }
docs: Exports the currently loaded Hermes type system in JSON.
  
  @return Json representing the type system.