Type aware dictionary for Objective-c