Removing code duplication in normalize_description/normalize_keywords