Can now serialize and deserialzie properly