code: def find_named_entry(data_array, name)
        index = data_array.index {|item| name.eql?(item[:name])}
        return index.nil? ? nil : data_array[index]
      end
docs: Finds an item in an Array based on its ':name' field.