[Serializer] add documentation for serializer callbacks

related https://github.com/symfony/symfony/issues/10229