This is true, especially because we want to display the htmlpopup into different contexts. On as popup, one integrated in a tree in the menu panel (result panel), maybe more in the future.

How hard would it be to return simple key/value pairs instead of the html?