Transforming of JSON into C++ object generalized. agent endpoint implemented except registrations and config