fixes #1826: res.redirect('toString') fails with 500

Removed the unused map and corrected the doc comment. Fixes #1826.