Save state after migrating from json