Changes '(' and ')' in List.toString to '[' and ']'