add channel serialization

Change-Id: Ic18a3f3269b0dcea5432d28725bf4a26b1f9e0a2