support yaml input_type

support text/yaml content_type.