Changing the Map String type to Object