Fix to deserialize the parents properly
Merge pull request #20 from jplana/fix-connect-parents

Fix to deserialize the parents properly