JSON and HTML output

Views are kind of dumb really...