Send JSON in the 40X errors