Add safe yaml parsing to node.