converted the JSON pretty printer to YAJL (also fixes JSON printing using wgdb.dll on Windows)
removed a junk header check that potentially caused segfaults