put linked objects always into linked, fixes #6
test if duplicate linked structs are marshalled once
correct wrong test description
refactor marshalStruct, introduce 2 methods with more convenient name
Merge pull request #54 from univedo/bugfixRootArray

Bugfix root array