Use the configured serializer instead of hardcoding jms_serializer