I suggest sticking to XML within the configuration file and transform it to wire protocol inside the plug-in. Mixing together two syntaxes is confusing.

A counter-argument is that JSON/YAML-codified parameters are easier to copy from the portal and paste into the config.