rename Map to UriMap to avoid confusion
add collapse option to speed up suggestions with deep trees and few
leafs