fixing a silent bug that transform js array into js object because of non-consecutive index key
api change : antiflood