Sars
07/25/2024, 6:30 AMmap over each item, extracting the necessary keys from it & assigning it to a new object. Once we have done that, we can squash the array to a single object.
Apparently, it only works with objects as it's just easier to map key to value. Now that I think of it, using arrays may not work as arrays do not have keys in same manner as literals.