[PATCH 06/13] qemuMonitorJSONGetObjectTypes: Refactor cleanup