Fixed a response error parsing bug for JSON.

Fixed a response error parsing bug where if additional content type parameters were specified in the request, i.e. ContentType: application/json; charset=utf-8 then the error parser would default to using xml parsing even if it was a json response.