fixes YAML parsing of Request method