[PATCH 01/10] tests: qemucaps: Make JSON output identical to python's 'json.dump' method