List section under specific header using dataview

I would do it with dataviewjs (cannot help here now, sorry) from scratch.
Some relevant code to do with returning text content I whomped together with bot help in the past: