Added ability to specify a callback for retrieving the index for an entity in the result of Clarninet::getAll()