Printing json-lib exception in test