Fixed C++ standard violations in jsoncpp.cpp. Fixes issue #987