You can get the components and loop on them and find the ones that you
js = eval(input_file.read())
components = js["results"][0]["address_components"]
names = [component['long_name'] for component in components if 'administrative_area_level_2' in component['types']]
Here, names will include long_name of all the components that have administrative_area_level_2 in their types