Convert a two-dimensional array to an array of collections using map()?

Hello, I have a question. I have this array

I want to convert this two dimension array into array of collections so i used map function as in image below:

but i get this result from output:

i have also this json file:

what i am trying to achieve is to get this result of conversion of two dimensional array into an array of collection:
[ { “product_id”: 48973,“weight”: 0.7 },{ “product_id”: 48976,“weight”: 0.8}]

I’ll be appreciated if you can help me. I’m new in make.com so i started to learn about functions so i wanted to ask for help from you.
Thanks in advance for helping me.

Send over the example JSON and we can help easier.

But if you were to map both alone then join the arrays I think this would solve your issue.

blueprint 3.json (4.9 KB)

@Mr.Make This is my example json file. Should i use join inside the map function?

Is this how you wanted the output to looks. If not give me an example of what you want.

@Mr.Make i want to have this result in set variable module:
{ “product_id”: 48973,“weight”: 0.7 },{ “product_id”: 48976,“weight”: 0.8}]
I get two dimensional array in this module


So i want to get only this array of collections from array aggregator and display it in output of set variable module:

That’s why i used map function to get them dynamically in set multiple variables module. Is that approach which i did using map() is close to do what i explained you?

O ok. All you need to do is set variable of the array in the set variable module.