use json, for visually more convenient comparisons
change try-catch to check
more tests on caching