Why do we include $(decoded[$(dmivars)]) here? The name of the attribute is enough - the value is already in the variable value. :)
And no need to group variables, only classes.