def to_h
      h = RRRSpec.redis.hgetall(key)
      h['key'] = key
      h['log'] = log
      h['worker'] = { 'key' => h['worker'] }
      h['taskset'] = { 'key' => h['taskset'] }
      RRRSpec.convert_if_present(h, 'started_at') { |v| Time.zone.parse(v) }
      RRRSpec.convert_if_present(h, 'rsync_finished_at') { |v| Time.zone.parse(v) }
      RRRSpec.convert_if_present(h, 'setup_finished_at') { |v| Time.zone.parse(v) }
      RRRSpec.convert_if_present(h, 'finished_at') { |v| Time.zone.parse(v) }
      h
    end
def to_h
      h = RRRSpec.redis.hgetall(key)
      h['key'] = key
      h['log'] = log
      h['worker'] = { 'key' => h['worker'] }
      h['taskset'] = { 'key' => h['taskset'] }
      RRRSpec.convert_if_present(h, 'started_at') { |v| Time.zone.parse(v) }
      RRRSpec.convert_if_present(h, 'rsync_finished_at') { |v| Time.zone.parse(v) }
      RRRSpec.convert_if_present(h, 'setup_finished_at') { |v| Time.zone.parse(v) }
      RRRSpec.convert_if_present(h, 'finished_at') { |v| Time.zone.parse(v) }
      h
    end
==========================================================================
 Serialize