I suspect a lot of the vertical spacing here is an artifact of the content previously being in markdown: I'm guessing, but if adjacent lines are flowed unless the later ones are less-indented (IIRC, YAML does something like that; I don't know markdown, though),  the blank lines may all be artifacts of working round that.

It would be nice to have a consistent style, e.g.
* no blank lines inside { braces } or before opening {, blank line after closing }
* always a blank line when next line isn't subordinate to previous, aside from { braces }
* plus a blank line before the first of several, when there's more than one subordinate to the previous line
* no blank lines aside from that.