hack to make esmre.Index class objects pickleable