used workaround for jms serializer bundle