utils.respond() is now bit more generic, ask req for accepted types, and support text output.
Use res.respond() instead of calling res.json() and res.write() directly.