Added JSON handler in channel.