Fork from http://jsoncpp.sourceforge.net