(mono) Fix marshaling of object hierarchies from .net to node.js