Add newlines to XML outputs