Added snapshot serialiser