jlm/serializer-expression (packagist): Allows you to exclude fields at runtime via expressions using the Symfony expression language
Keywords: serialize|serialization|jms serializer|exclusion