added marshal support for routeContext