NXP-14367 introduced JSONAssert to compare json objects, instead of comparing string values (and handling ordering/formatting issues), but the comparison can be done using different mode (extensible yes/no, strict order yes/no).
Currently tests use the lenient mode (extensible, no strict ordering), this should be changed according to tests done.