With the following code:
let name = res[\'casesByState\'].map(res => res.name) let casesReported = res[\'cases