YAML parsing with snakeyaml