; Top-level mapping keys as sections
(stream
  (document
    (block_node
      (block_mapping
        (block_mapping_pair
          key: (flow_node
            (plain_scalar
              (string_scalar) @name))) @symbol))))
