Plack middleware which turns application/json responses into HTML