Turbofix: render XML instead of JSON for 400 & 500 responses