Utilities for Javascript plug

Parsing the json results in hetrogenous data types. Some of them are literals, so there won't be items. I _could_ switch to a collections check, but I figured all I really care about is items