replace the array of strings with an array of quote objects