[unittests] add json.dumps insted of strings because result can be in an other order. Depends of your computer and python version