res.send(obj) takes care of content type