We need a way to dump state to a neutral format that can be included in a genesis.json so we can do upgrades where we throw away history