mongo client and jsoncpp