I am thinking of iterators such as:

tmp_content_data.each_content { |content_info|
  checksum = content_info[:checksum]
  size = content_info[:size]
  content_time_mod = content_info[:content_time_mod]
  ..
}

and-

tmp_content_data.each_instance { |instance_info|
  checksum = instance_info[:checksum]
  size = instance_info[:size]
  instance_time_mod = instance_info[:instance_time_mod]
  server = instance_info[:server]
  device = instance_info[:device]
  file_path = instance_info[:file_path]
  ..
}