def group_attributes_by_key(attributes)
      Hash[attributes.group_by(&:first).map { |k, v| [k, v.map(&:last).tap(&:compact!).join(', ')] }]
    end
def group_attributes_by_key(attributes)
      Hash[attributes.group_by(&:first).map { |k, v| [k, v.map(&:last).tap(&:compact!).join(', ')] }]
    end
Convert array of arrays to hashes and concatenate values

 @param [Array<Array>] attributes list of noindex keys and values
 @return [Hash<String, String>] hash of grouped noindex keys and values