xing responds with json encoded errors

Xing responds with json encoded errors.

https://dev.xing.com/docs/error_responses