def to_array
      self.instance_variables.map do |var|
        if var == :@hosts
          self.instance_variable_get(var).map {|host| host.to_array}
        else
          self.instance_variable_get(var)
        end
      end
    end
def to_array
      self.instance_variables.map do |var|
        if var == :@hosts
          self.instance_variable_get(var).map {|host| host.to_array}
        else
          self.instance_variable_get(var)
        end
      end
    end
Create a new scan report, passing in every attribute. The best way to do
 this is with the ScanResultProcessor module.

 Returns an array representation of the ScanReport. Metadata about the
 scan, and an array of Host arrays comprise the array.