use readYAML helper functions, fixes #130