Replace the json-c library with jsoncpp
Problem to solve
We are using the json-c library to parse json, but there are other alternatives which are less cumbersome to work with, for example jsoncpp, which is also meant to be used with c++. We should check if it's feasible to migrate to that and if yes, get rid of json-c in favour of jsoncpp