Variables were clobbering other variables... badness was happening.
When given
```test.ms
{{# container }}
{{ sibbling.child }}
{{/ container }}
```
```test.json
{
"container": [1,2,3],
"sibbling": {
"child": "Just me."
}
}
```
it was returning
```wrong.txt
{'child': 'Just me.'}
{'child': 'Just me.'}
{'child': 'Just me.'}
```
when it should have returned
```right.txt
Just me.
Just me.
Just me.
```
for scope in scopes:
try:
# For every dot seperated key
- for key in key.split('.'):
+ for child in key.split('.'):
# Move into the scope
- scope = scope[key]
+ scope = scope[child]
# Return the last scope we got
return scope
except (TypeError, KeyError):