Serialize terrains when saving game or making global update