Persistent data structures in Objective-C