Convert array using lodash

Job ID: 31581680

Budget: €6 – €12 EUR

Hello, i have this array:

{
"created": {
"N": "0"
},
"siteid": {
"S": "0000"
}
}

I want to convert it using lodash to:

{
"created": "0",
"siteid": "0000"
}
}

Notes: If key is N, result must be INT. Also, Keys can be others, this is an example. I only accept native lodash functions and the less code and ease of use that can be
Related categories: JavaScript Node.js Aws Lambda