JSON parsing errors should return an error regardless of http status code. Use the same error format as a timeout