Added series serialization/deserialization