Constify JsonWrite/Compact