Decode keys/values as utf-8, hopefully to make it working.