Move ya2yaml checking to Tolk::YAML.dump