Fix issue in nested objects

Make sure we get the last object back when adding to it

```
[[actions]]
name = "test"
[actions.data]
myname = "test"

[[actions]]
name = "test2"
[actions.data]
myname = "test2"

[[actions]]
name = "test3"
[actions.data]
myname = "test3"
```
Make this structure pass correctly now correctly results into

```
{'actions': [{'data': {'myname': 'test'}, 'name': 'test'},
  {'data': {'myname': 'test2'}, 'name': 'test2'},
  {'data': {'myname': 'test3'}, 'name': 'test3'}]}
```

instead of

```
{'actions': [{'data': {'myname': 'test3'}, 'name': 'test'},
  {'name': 'test2'},
  {'name': 'test3'}]}
```