code: function sendText (req, res, next, data) {
    setContentType(req, res,
      ["text", "html", "text/*", "application/*"],                // allow these types
      ["json", "*/json", "+json", "application/octet-stream"]);   // don't allow these types
  
    util.debug("Serializing the response as a string");
    res.send(_(data).toString());
  }
docs: Sends the given data as plain-text.
  
  @param   {Request}   req
  @param   {Response}  res
  @param   {function}  next
  @param   {*}         data