Stream callback fix. GCC warning on JSON fix.