isJson() function, with tests
Fix and merge branch 'isJson'