string sanitization for configuration read from config file