RestKit/RestKit — pull request #505 by spenrose (2012-01-14 22:16:23+00:00)
Title: This fixes a bug where attributes of a object would also get added to parent object.

XML to parse
```

```

BEFORE FIX
```
{type = mutable dict, count = 1,
entries =>
0 : {contents = "exchange_rate"} = {type = mutable dict, count = 6,
entries =>
0 : {contents = "currency"} = (
{
name = AUD;
quota = 1;
rate = "18.416";
},
{
name = HRK;
quota = 1;
rate = "3.25017";
},
{
name = DKK;
quota = 1;
rate = "3.251";
}
)
1 : {contents = "name"} = {contents = "DKK"}
2 : {contents = "rate"} = {contents = "3.251"}
3 : {contents = "quota"} = {contents = "1"}
4 : {contents = "type"} = {contents = "XML_RATE_TYPE_EBNK_MIDDLE"}
5 : {contents = "valid_from"} = {contents = "2011-08-03 00:00:00.0"}
}

}
```

AFTER FIX
```
{type = mutable dict, count = 1,
entries =>
0 : {contents = "exchange_rate"} = {type = mutable dict, count = 3,
entries =>
0 : {contents = "valid_from"} = {contents = "2011-08-03 00:00:00.0"}
1 : {contents = "currency"} = (
{
name = AUD;
quota = 1;
rate = "18.416";
},
{
name = HRK;
quota = 1;
rate = "3.25017";
},
{
name = DKK;
quota = 1;
rate = "3.251";
}
)
2 : {contents = "type"} = {contents = "XML_RATE_TYPE_EBNK_MIDDLE"}
}

}
```