improve code comments in mappers/yaml.js