I feel that this repository is quite dead, but it's still an interesting piece of code. Unfortunately the API lacks a way to iterate over the map. How could this be implemented?