mysql++ to jsoncpp