finalizing node.json creation