[IM] New hashing method and allow for non-array config