Now request syntax errors (generally with JSON) return JSON responses instead of HTML.