Consider the following data structure:
{
"restaurant": {
"categories": [
{
"name": "Italia"
},
{
"name": "Modern"
}
],
}
}
When trying to access the value using restaurant.categories, it returns [object, object],[object, object]
Desired outcome: Italia, Modern