[PATCH 2/5] qemuMonitorJSON(Add|Del)Object: Refactor cleanup