Pass the QueryRecord object (or descendant) to the serializer filter.