Pickling and Unpickling - recursive references