standardizing attr names for config/switch