Note seriliaztion and deseriliazation