Currently the parser treats filters with no parameters and filters with parameters slightly differently (each filter receives an array index, so if it has parameters it's passed as an array with its parameters.

This code could be simplified if all filters were passed as arrays (even if the array had only one element), but the compiled Dust functions don't look quite as nice, I suppose.