updated method to return NSMutableDictionary in data helper