Fix for duplicate variants
Bugfixes
Cosmetic fix for urls in TSNREST
Cosmetic url improvements