fix bad query wrapper
more comprehensive API for JSONWrapper
increment version number