Fix typo in dictionarize_attributes