Use JSONAssert to assert on json strings

Rewrite all tests assertions on json strings using JSONAssert. Fix #162.
Oh yes, right, good catch!