Domain names need to be YAML escaped in addition to the regular DNS encoding when they are being displayed in yaml mode.