coverted words list to json