PARQUET-116: Enforce that the filter object to be passed must be Serializable