fix key in json for registing channel