code: public Object marshalRootElement() {
          if (justRoutes) {
              RoutesDefinition routes = new RoutesDefinition();
              routes.setRoutes(contextElement.getRoutes());
              return routes;
          } else {
              return contextElement;
          }
      }
docs: Returns the root element to be marshalled as XML
  
  @return