Test_list::`$=[{type:"foo", value:5}, {type:"bar", value:8}]` Output: --- dv_Test_list: - "- type: foo" - "value: 5" - "- type: bar" - "value: 8" --- Expected: --- Test: - type: "A" value: 5 - type: "B" value: 8 --- BTW: Why do you enforce a prefix? And why don't you remove the _list suffix?