updating obsolete usage of YamlSerializer
Merge pull request #139 from Code52/YamlConfig

updating obsolete usage of YamlSerializer