Can you rewrite this using ```.map``` instead of ```.forEach```?
It could be just ```return lines.map(function (line).....```
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map