Doctrine/JMS serializer integration