[PATCH 10/15] qemumonitorjsontest: Add infrastructure for generated tests of deprecated commands