Change + (NSArray *)allPropertyKeysForObject:(id)obj;  to  + (NSDictionary *)allPropertiesForObject:(id)obj;