Serialize and restore spark.cleaner.ttl to savepoint