Deterministic serialization of bootstrapping and initialization