`arrayToObject()` `keyGen` and `valueGen` parameters order changed