Array items to hash