fixed issue 1318, as_yaml, thanks Alan
optional_args
passing parameters for contains case_sensitive but often ignored. :-(