Prevent JMS Serializer to convert CamelCase to UnderscoreCase
You should change default property naming strategy for JmsSerializer.
In your config.yml
.
jms_serializer: property_naming: id: 'jms_serializer.identical_property_naming_strategy'