_yaml.dump will itself call node_sanitize, we therefore don't need to do it beforehand
_yaml.dump
node_sanitize