Added support for response to parse string to json if response does not in json.