Strip tf1 list of newlines