Added code to build up requests based on an NSDictionary