def to_h
      stats
      stats_pairs = STATS_METHODS.map { |stat, method_name| [stat, stats(false)[method_name]]}
      stats_pairs.concat([['body', body], ['connection', connection], ['id', id]]).sort_by!(&:first)
      return Hash[stats_pairs]
    end
def to_h
      stats
      stats_pairs = STATS_METHODS.map { |stat, method_name| [stat, stats(false)[method_name]]}
      stats_pairs.concat([['body', body], ['connection', connection], ['id', id]]).sort_by!(&:first)
      return Hash[stats_pairs]
    end
:call-seq:
   to_h() => Hash

 Returns a hash of all job attributes derived from updated stats

   job = StalkClimber::Job.new(peek_response)
   job.to_h
     #=> {"age"=>144, "body"=>"Work to be done", "buries"=>0, "connection"=>#<Beaneater::Connection host="localhost" port=11300>, "delay"=>0, "id"=>2523, "kicks"=>0, "pri"=>0, "releases"=>0, "reserves"=>0, "state"=>"ready", "time-left"=>0, "timeouts"=>0, "ttr"=>120, "tube"=>"stalk_climber"}