Iterating over header array instead of ArrayIterator in SignatureV4