test: Run py 2to3 Fix the couple python test files to support both python 2 and 3 syntax. We could instead replace these with equivalent jq functions, but it's simpler for now to fix the small compatibility problems. Change-Id: I944d1b90fd1ebfbdcc679328657a332184922ee3