Add support for nested keys.
Merge pull request #4 from jmoseley/support_nested_keys

Add support for nested keys.