Updated dictionaries assignment to use more modern objective-c syntax