Collapse XML errors to one line so splunk can find it better