[dsymutil] Out-line the YAML serialization code. NFC