Better conversion of attributes to symbols for whitelist