CZI: improve channel metadata population

See ticket #10620.