Revert hunk from "Fix serialization problem"

This reverts commit 06d26d2018b5f59e323c74a24e24bd51db681259.
Bug fix for MCMC length
Bug fix for resuming analyses
Reuse constructed serializer