[PATCH 04/13] qemuMonitorJSONGetCommands: Refactor cleanup