Make xml parser more robust against strings that look like json but aren't
Be somewhat more verbose (log the current processed filename)