Fixed up autoconf and json formatter/writer for YAJL2 support.