merge ctx.locals to locals`