use serialization in trash restore