[PATCH 2/3] qemuMonitorJSONSetMigrationParams: Refactor command construction and cleanup