node.js object interleaver, multi-type and multi-level