Added $format in serialize() method, to keep consistence and give a hint to the normalizer.
Added $format in serialize() method, to keep consistence and give a hint to the normalizer.


symfony/Serializer,symfony/serializer