help for complex merging of objects

Options
I get from an api some json that I put together in a array:[screenshot-xlsr-vkx0-tgvl.f2.xano.io-2022.06.25-22_56_30.png]
I need to perform calculations with a loop on the dates. I need to transform these arrays so that the keys are the dates in order to loop on them.

I'm having trouble doing this and wonder if it's possible.
The expected result would look like this:

2020-01-01:[
{IE854163975 : { weight: 0.3,
                           open: 19,
                           close: 20
                         },
},
{IE854136742 : { weight: 0.3,
                           open: 19,
                           close: 20
                         },
},
{IE854136742 : { weight: 0.3,
                           open: 19,
                           close: 20
                         },
},
]
2020-01-08:[
{IE854163975 : { weight: 0.3,
                           open: 19,
                           close: 20
                         },
},
{IE854136742 : { weight: 0.3,
                           open: 19,
                           close: 20
                         },
},
{IE854136742 : { weight: 0.3,
                           open: 19,
                           close: 20
                         },
},
]

Does anyone have any suggestions on how to merge these arrays in the fastest and most efficient way possible?