Allow to override layout in res.locals