Add custom filter filtering on entire model

Filter to handle entire models instead of individual fields. @b-ash