drop in unit tests for json & jsontree modules (from unparse-js)