Replace index map with slice

Canonical index value needs keys ordered, so API should reflect that.