It appears that there are json comparison issues for some versions <= py35
so we need to check that the expected manifest matches in a different
way to ensure compatibility between py27 and newer. Since we've dropped
these versions of python in Ussuri, this only applies to older version.
Change-Id: I011cb62850bb4f298f78a1cfede4e60044523be6
Closes-Bug: #1867648