Added a trim to grant id and external id from the import spreadsheet.