Improved the version serializer class