Correct nested dictionary serialization
Merge pull request #6 from yellis/SerializeNestedDict

Correct nested dictionary serialization