refactoring: follow clkao's suggestion

To use Destructuring.

And content -> words is for avoiding naming collision.
content is for json content, we will overwrite it unless using
another name.