LPS-48830 - Allow for loops to handle lists with new lines
LPS-48830 SF