Deprecated YamlSerializer