I have a dictionary field in my data like so:
"details": {
"code": "PPIO",
"product": [{
"productCode": "ADGT"
}]
}
I need to convert the field to an array of objects:
"details":
[
{
"code": "PPIO",
"product": [{
"productCode": "ADGT"
}]
}
]