I\'m using APAddressBook to get the address book from the users phone. it generates the following object of users when I print the variable serializedContacts:
serializedContacts
You should also convert the property you're trying to access to AnyHashable before. In your case this is:
serializedContacts[0][AnyHashable("name")]