Add support for nested object

See #81
Merge pull request #82 from fork-n-roll/feature/nested-objects

Add support for nested objects