Add Field in nested array by other field

It could also be a JS function that does the same than the $map, but in friendly notation.

I didn’t know about $getField, thank you. I can’t really test much more now. But hopefully someone else will give a better idea…