support hashing of Python objects in Julia and vice versa