[PATCH v5 02/11] conf: Rework SEV XML parse and format methods