Return type of result variable in GetProfiles has been changed from NSMutableArray to NSArray