I have a json object like this

```
[{
    name: 'abcd',
    formData: {
        age: 33
        sex: m
    }
},
{
    name: 'ssabcd',
    formData: {
        age: 23
        sex: m
    }
}]

```

I want to display it like `{ headerName: 'age', field: 'formData.age' },` 

But it is not working and is displaying blank.

Please help.