Decode response content before parsing it as json.