How do i access the ID property from the following object of objects:
const data = {
"xx2b": {
"id": "xx2b"
"county": "Baringo",
"town": "Kabarnet",
"saccoRegistration": "BO2/08/009",
"saccoName": "Baringo2"
},
"QQDa": {
"id": "QQDA",
"saccoRegistration": "Ba/09/009",
"town": "Mogotio",
"county": "Baringo",
"saccoName": "Baringo1"
}
}