The pipelines validator seems to have started to parse yaml inside quotes.
I can't remember precisely testing this few months ago, but there are some vague memories that it didn't do that.
See attached screenshot.
One would need to use the colon ":" in a variable to be able to use it in strings (that's my only solution for now, since i really need to create this pipeline)
Update: see comment