make "walk" function process dictionary keys; use it for utf-8 encoding