I'd prefer to have CAA_TYPES as a dictionary in the first place since you're only using it to convert it to a dictionary.