keysplit returns only a hash now, change logic