WTH do my YAML anchors and aliases have to convert to code after saving?

It would be so much more tidy if I could use anchors and aliases to repeat chunks of code in my dashboard. I can do it initially, but as soon as I save those aliases are replaced with values.

Example:

key_with_values: 
  - list_item_1
  - list_item_2
  - list_item_3
key_with_repeated_values: 
  - list_item_1
  - list_item_2
  - list_item_3

becomes this…

key_with_anchor_values: &list
  - list_item_1
  - list_item_2
  - list_item_3
key_with_alias_values: *list

I encountered the same problem, where I needed to put the exact same browser_mod popup directives at three different places in an auto_entities card (outside/inside a fold-entity-row and two different sorting methods). The fist save the anchors are replaced by generic names and the second time they are replaced by the YAML they refer to.

Use a yaml dashboard managed outside the UI.