Changed _parseResponse() to use XMLHttpRequestResponseType when deciding how to parse the data.