Trouble with Pages loading data from an API

Product: PowerShell Universal
Version: 3.8.3

I’ve tried and failed to use Pages a few times now… and I’m wondering if I’m doing something wrong.

I would like to take JSON output from an API I’ve already written and use it to populate a table where each role is two columns, one with the attribute name and one with the attribute value. The json is a simple hash, think something like:

{
  "name": "value",
  "name2": "value2"
}

I can see the data source load in the network monitor of dev tools, but it always throws an exception “TypeError: can’t convert undefined to object” in the editor.

Pages looks very interesting, but it’s not very intuitive. Is there a better way to accomplish this? Mostly I would like to expose some functionality from an API in a GUI without re-writing the code.

Side Note: It would be handy to auto-magically map variables in the page URI to variables in the API URI if the names are the same