Fix massive bug in filter service
Add output_format field
Add separate CLF templates