Method to retrieve keys from published map.

We need a way get the keys in a published map. A method that returns a
Set<String> has been implemented.