add replace flag in composer.json for jms/serializer package