Added servlet to retrieve unique capabilities of the nodes registered with a hub as JSON.
added/refactored serverlet that offers json api to get nodes information