Use transform and lambda for list converting

Just for fun. I cannot see it would be faster.