Add utf8_encode_dict to make it handle unicode strings