{'cars': [{'model': 'Mitsubishi Lancer', 'id': 5419, 'plate': 'T111TT199'}, {'model': 'Honda VFR750', 'id': 5420, 'plate': 'E222EE177'}]}
import json
def model_by_plate(js, plate):
for car in json.loads(js)['cars']:
if car['plate'] == plate:
return car['model']
print(model_by_plate(data, 'E222EE177'))