factor out some FieldFilter logic + String config