role::analytics::kafka: do not call keys() on non-hash

Change-Id: Ib63388c9ae7e5f7fb247127c5f598c93b27cb495
Merge "role::analytics::kafka: do not call keys() on non-hash" into production