Updated document tostring and fixed versioning for nuget publishing