updating json call from previous.

work in progress, lots of junk code from other resources; switching to
different computer for further changes.