Solution to a problem on SO related to JmsSerializerBundle

It is described in the documentation.
See http://stackoverflow.com/questions/10361346/errorexception-jms-serializerbundle-jmsserializerbundle