move unicode handling for request arguments out from encoding.to_unicode