fixup: render correctly '{}' and display the HTTP status code even when there is an error