json schema mod (still buggy)
add getVariablePathList to handle variable path and resonse array. change some tests. later can remove some dupe functions for json schema