[PATCH v1 1/5] qemuMonitorJSONGetCPUModelExpansion: refactor parsing functions