Sufficient Representations for Categorical Variables