I want to backport !1496 (merged) to v36-patches as I believe some of the test failures observed in LHCb sanitizers builds are caused by changes in the order of JSON dumps of counters and in that nightly builds slot LHCb still uses Gaudi v36.
See !1496 (merged) for details.