Trim string in configuration not transportmanager