update code with jsoncpp's changelist