def to_h
      h = RRRSpec.redis.hgetall(key)
      h['trials'] = trials.map { |trial| { 'key' => trial.key } }
      h['key'] = key
      h['log'] = log
      h
    end
def to_h
      h = RRRSpec.redis.hgetall(key)
      h['trials'] = trials.map { |trial| { 'key' => trial.key } }
      h['key'] = key
      h['log'] = log
      h
    end
==========================================================================
 Serialize