def _get_dyn_table(console, address, payload = nil)
      if payload
        response = AJAX.post(console, address, payload)
      else
        response = AJAX.get(console, address)
      end
      response = REXML::Document.new(response)

      headers = _dyn_headers(response)
      rows    = _dyn_rows(response)
      rows.map { |row| Hash[headers.zip(row)] }
    end
def _get_dyn_table(console, address, payload = nil)
      if payload
        response = AJAX.post(console, address, payload)
      else
        response = AJAX.get(console, address)
      end
      response = REXML::Document.new(response)

      headers = _dyn_headers(response)
      rows    = _dyn_rows(response)
      rows.map { |row| Hash[headers.zip(row)] }
    end
Helper method to get a Dyntable into a consumable Ruby object.

 @param [Connection] console API connection to a Nexpose console.
 @param [String] address Tag address with parameters relative to
    https://host:port
 @return [Array[Hash]] array of hashes representing the requested table.

 Example usage:
   DataTable._get_dyn_table(@console, '/data/asset/os/dyntable.xml?tableID=OSSynopsisTable')