I'm using FOS Rest bundle and JMS Serializer to create a REST Api. The problem is I would like to keep the property names in the JSON response camel cased instead of using _.
For example, I have a property called employeeIdentifier, by default that gets converted to employee_identifier.
I saw that there's an option in the config to disable the lowercase and get rid of the _, but then it becomes EmployeeIdentifier.
Is there any way that JMS Serializer keeps the original name of the property? Thanks in advance