Fix updating JSON library in OutputStream