Added test and functionality to convert the textarea array of strings into an array of objects