use libjson instead of jsoncpp