dict_keys to list for py3