JSON data-struct check (modual for node.js)