API data to Calendar

I'm trying to populate the calendar with data from an api query. I'm assuming i need to use a transformer on the data below but not sure exactly what I need.

{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('adfsasdfasdf')/events(subject,body,bodyPreview,organizer,attendees,start,end,location)",
"value": [
{
"@odata.etag": "W/"N3ItongcR0mxqZg8gK5gYwAHyHBjNw=="",
"id": "1234",
"subject": "adslfkjadsf lkasdfj",
"bodyPreview": "tesxt"
},
"start": {
"dateTime": "2022-09-29T14:00:00.0000000",
"timeZone": "UTC"
},
"end": {
"dateTime": "2022-09-29T14:30:00.0000000",
"timeZone": "UTC"
},
"location": {
"displayName": "",
"locationType": "default",
"uniqueIdType": "unknown",
"address": {},
"coordinates": {}
},
"attendees": [
{
"type": "required",
"status": {
"response": "none",
"time": "0001-01-01T00:00:00Z"
},
"emailAddress": {
"name": "mattasfasdfhew@retool.com",
"address": "asdfs@retool.com"
}
},
{
"type": "required",
"status": {
"response": "accepted",
"time": "0001-01-01T00:00:00Z"
},
"emailAddress": {
"name": "asdfa adfasd",
"address": "adsfads@afsd.us"
}
}
],
"organizer": {
"emailAddress": {
"name": "adsafsdf@retool.com",
"address": "afdsafd@retool.com"
}
}
},

I think I got it.

d = {{getAllCalendars.data.value}}
var outArr = []
d.forEach((a) => {
outArr.push({
id: a.id,
title: a.subject,
start: a.start.dateTime
})
})
return outArr