ManagedObjectId serialization fix.