Fixing unit parsing in YAML tools
Passing through quantities when their units don't change