Add toIndex and getIndexables for a Map