Don't return html for json or rss requests.