added parsing utilities for NSDictionary and NSArray