Add NSString, NSNumber and NSData marshaling helper methods.