trying to get the values out of this

trying to get the values out of this

I'm using an ajax call and this is what I get in return. I just cannot seem to put the right line in to get out the data I want. There are two objects in the "resultsForGroup" I want to get the id, name, state, incomplete tests and also
the "resultsCountByOutcome", "passed" count and the failed count from both objects.
Thanks to anyone that helps :)

{
"groupByField": "TestRun",
"resultsForGroup": [{
"groupByValue": {
"id": 1190124,
"name": "Afresh Networks Tests",
"isAutomated": false,
"completedDate": "2019-03-11T10:46:04.887Z",
"state": "Completed",
"totalTests": 0,
"incompleteTests": 0,
"notApplicableTests": 0,
"passedTests": 0,
"unanalyzedTests": 0,
"revision": 0
},
"resultsCountByOutcome": {
"Passed": {
"outcome": "passed",
"count": 18,
"duration": "00:01:20.2900000"
},
"Failed": {
"outcome": "failed",
"count": 2,
"duration": "00:00:01.5530000"
},
"NotExecuted": {
"outcome": "notExecuted",
"count": 1,
"duration": "00:00:00.0460000"
}
},
"results": [{
"id": 100012,
"project": {
"id": "fb2a4fb9-2a7f-4739-9647-58097556998c"
},
"durationInMs": 883,
"testRun": {
"id": "1190124"
},
"priority": 0,
"testCaseReferenceId": 5933999
}, {
"id": 100013,
"project": {
"id": "fb2a4fb9-2a7f-4739-9647-58097556998c"
},
"durationInMs": 670,
"testRun": {
"id": "1190124"
},
"priority": 0,
"testCaseReferenceId": 5934000
}]
}, {
"groupByValue": {
"id": 1190134,
"name": "Afresh STests",
"isAutomated": false,
"completedDate": "2019-03-11T10:52:26.173Z",
"state": "Completed",
"totalTests": 0,
"incompleteTests": 0,
"notApplicableTests": 0,
"passedTests": 0,
"unanalyzedTests": 0,
"revision": 0
},
"resultsCountByOutcome": {
"Passed": {
"outcome": "passed",
"count": 17,
"duration": "00:00:21.9540000"
},
"Failed": {
"outcome": "failed",
"count": 2,
"duration": "00:00:00.2200000"
}
},
"results": [{
"id": 100016,
"project": {
"id": "fb2a4fb9-2a7f-4739-9647-58097556998c"
},
"durationInMs": 160,
"testRun": {
"id": "1195134"
},
"priority": 0,
"testCaseReferenceId": 6031504
}, {
"id": 100018,
"project": {
"id": "fb2a4fb9-2a7f-4739-9647-58097556998c"
},
"durationInMs": 60,
"testRun": {
"id": "1190334"
},
"priority": 0,
"testCaseReferenceId": 6031504
}]
},