[FIX] init: Return valid json in str() for WbTime and WbQuantity

The test failed if the order was different.

Bug: 64468
Change-Id: I3fa8ddf984a8e91cf3ecbde9a97c7e8933794cf4
Merge "[FIX] init: Return valid json in str() for WbTime and WbQuantity"