Support de/ser of the new channel_type field in open_channel