IPN: force encoding
first encode hash to str