[BUGFIX] Explicit cast to string for VersionState object