Conversion of list strings to array