display json content when compare fails in testcase (needed for travis-ci)