Client adapted to return either XML object or a tab-delimited flat file
Amazon API not always returns XML. The quote from official Amazon docs for the GetReport API call response:
The contents of the report document. Depending on the ReportType, this will either be a tab-delimited flat file, or an XML document.