The input to be transformed
It's mostly used in context like turning networks or volumes in array as in docker compose theses can be represented as :
networks:
- network1
- netowrk2
or
networks:
network1:
netowrk2:
This function serves two primary purposes:
Transforms an object or array into an array of objects with a 'name' property.