optimize normalize_itext
Merge pull request #3842 from dimagi/normalize

optimize normalize_itext