unshadow res and move express res to request callback