added YamlReader exporting api