[Cocoa] Wrappers mishandle NULL values in arrays and dictionaries