It might be a surprise for you but in the built-in keywords of Katalon Studio, there is none which returns the contents of HTML elements as List. You need to develop some custom solution.
I made another post:
I suppose this would be useful for you.