permError.toString() should return JSON