Registering FOS Restbundle and JMS Serializer