build on basic jsoncpp and implement the parsing of long value