forked from http://svn.code.sf.net/p/jsoncpp/code/trunk/jsoncpp/?p=276