`req.accepts('json')` doesn't work because browsers send "*/*" at the end, so it will always be true, even if the browser prefers `text/html`. We want to say "of html and json, which does the user agent prefer?"