Try serializing with marshal