Use JSONAssert to assert on json strings

Rewrite all tests assertions on json strings using JSONAssert. Fix #162.
Why did you swap these entries?