returning class of tree instead of MapDB treemap

this is mostly blocking when in IRB