use potemkin/def-map-type instead of manual map implementation
Let IRender decide what it can render
convenience method for string renderers
merge if statement into cond