@pdehaan - you can simplify this slightly by using the `res.format` call. See [this code](https://github.com/mozilla/fxa-content-server/blob/19095a44181911b8b8496a5f85225bcc9f7242a5/server/lib/routes/get-terms-privacy.js#L112-L119) for an example.