Convert each key value entry in an array to separate object

The following dataweave code converts each key value entry in an array of objects to separate object.

You can find the above dataweave code below for you to play with it.

--

--