normalize attributes in deprecated message