Reworked the jms serializer version support.