Refactor DitaWriter to use NormalizeFilter