fixed an encoding issue for get_multiple_keys