Not sure what was up with the "TODO: use boost::ptree" comment, looks like this part is pretty consistent so there's no point to avoid using a struct here.
The Config element contains a subset of the configuration and its format will not change in a backwards incompatible way between releases.
Makes /agent/self return Config object.
Not sure what was up with the "TODO: use boost::ptree" comment, looks like this part is pretty consistent so there's no point to avoid using a struct here.