change the baked states functions so they use the world's built-in serialization functionality