Map<String, String> get flattened { return headers.map((key, value) => MapEntry(key, value.first.values.first)); }