Added functionality to get target hashmap from mainbus