Add toString() for FilterBuilders
Closes #2887.