Fix string representation of lists (issue #47)