Tidier 404s for json and html requests