Reformat alerts for consistency and conformance to .xsd