Serializing swap_block map