Send the proper Content-Type header for text reponses.
Use res.respond() everywhere.