Make BoolFilterBuilder output proper json