Changed to use JSONAssert for better message when test fails