Python26 support

This doesn't work. Every iteration of that loop is replacing the state_mapping instead of adding the additional keys/value pairs

```
dict((x.id, x) for x in states)
```
This will work