Change the structure of "words" in "result"