The image_processor expects the annotations to be in the following format: {'image_id': int, 'annotations': List[Dict]},
 where each dictionary is a COCO object annotation. Let's add a function to reformat annotations for a single example: