Yet another struct (object↔︎buffer) implementation for node.js