converted all NSDictionary to Dictionary