Serialize world and mode.