code: function defaultJsonResponse(req, res) {
    res.json({
      account: helpers.strippedAccount(req.user)
    });
  }
docs: Delivers the default response for registration attempts that accept a JSON
  content type. In this situation we simply return the new account object as
  JSON
  
  @function
  
  @param {Object} req - The http request.
  @param {Object} res - The http response.