Make perhaps dangerous assumption that browsers will accept text/html, application/json correctly