Solved referencing problem in serialization by replacing
Node and Cell structures with Points