Casting lancet.__version__ to string for JSON serialization