fix: extra_attributes as a set

reconcile extra_attributes - once defined as a list and later defined as a set. make the dictionary check explicit