def to_json
      {
        threads: @threads.to_json,
        pipeline: @pipeline.size,
        best: best.map(&:to_mnemo).join(', '),
        farmer: @farmer.class.name
      }
    end
def to_json
      {
        threads: @threads.to_json,
        pipeline: @pipeline.size,
        best: best.map(&:to_mnemo).join(', '),
        farmer: @farmer.class.name
      }
    end
Renders the Farm into JSON to show for the end-user in front.rb.