I’m not 100% sure where\how PEM came into it. But my off the cuff thought is XML might lend itself well as a means to store\transfer the data in a closer-to-human-readable format and you can define a schema to make it consistent.
In terms of a tool to store setup data, tracking changes etc. I used Kart Setup from @Glenn and found it worked quite well.