Handle structures with duplicated references
decode recursive data structures
test for recursion that does not start at the root