Errors are also JSON returns now.