Refactor code to use `gsm_lib.get_site_details_as_dict` - Task #6558