Convert lists on paste