make json string writer internal char buffer grow dynamically