def keys
      map { |line| line.kind_of?(Array) ? line.first.key : line.key }
    end
def keys
      map { |line| line.kind_of?(Array) ? line.first.key : line.key }
    end
Return an array containing the keys for the lines added to this
 collection.