convertWordstoJson