[WIP] Fix serialize migration