I rather not like javascript solutions with search and replaces and YAML separator insertions.
I’m actually surprised our learned friend recommended using that.
If you are patient enough to wait out the outcome of a script being worked on at the end of this thread, we’re likely to see solutions for properties manipulation that are not confined to the current file and much more.