Make Parameters support legacy YAML encodings.
#26017

kaspth wants to merge kaspth:parameters-yaml-format-backwardscompatibility into rails:master

We do not currently have an analysis of these two commits