we should parse the response if it return a content type of application/json

we should parse the response if it return a content type of application/json