Read YAML file and list it's contents using REST Apis