Create a YAML filter, just like the JSON one