modified code to use jsonpath-rw which is more stable and better supported. partially approached issue #49 and issue #48