discover command support, plugin support

This is not the same - I need to sort by keys, not values