That would only work if **kwargs didn't contain any unicode values either, which it might.  I think converting at the last minute like this is probably preferable.