removed spurious calls to json_decref() that resulted in memory being accessed after being free'd