'fix' _.keys to have old functionality, returns indexes in an array