Remove the trimming of variate name so it will match what is stored in the database.

GCP-10131

Mae Turiana
Code Cleanup - Remove SonarQube violations

GCP-10131

Reviewer: Mae Turiana
Unit tests for DatasetExporter

GCP-10131

Reviewer: Mae Turiana