The code is made compilable with libjsoncpp v0.5.0.