'Fail if the two json strings are unequal.
Normalize json by parsing it with the built-in json library. This
accounts for discrepancies in spacing.'

def assertJsonEqual(self, first, second, msg=None):

    self.assertEqual(loads(first), loads(second), msg=msg)
