Convert params keys to strings, to avoid them being binary.