Trim elements when extracting info from CSV tables.
Issue number 671

Change-Id: Iee377436490cf397e91b3e300f4846acf7d989df