Remove dependency of jms/serializer