Fauxton: Update routes template to support RouteObjects