Setup state serialization