Added NestedStruct support [fixes #1]

Awesome catch! :)