support yaml format

Add a yaml format to filter type.