allow url to be passed for jsonviewer