document normalizer