Maybe this can help you
In that example you get three words from a json and their respective content.
You can adapt it to what you need