modules/kex: fixed type of stats.get_statistics result