Use YamlAliasAttribute value when serializing.