I wouldn't expect an API method to modify an argument like this. As a caller, I'd expect it just to read the arguments and pass them up to the actual http call. Can we copy the desired fields to a new object? We can take that opportunity to do some basic validation, too, if we want.