When the topics are bytes encoded in configuration the json.dumps() fails. This commit prevents the failure by decoding the strings before sending them in poll function. Signed-off-by: Michal Konečný <mkonecny@redhat.com>