def _create_simple_json_dict(image_anns):
    """Makes a list of annotations in simple_json format."""
    simple_json_anns = []
    for ann in image_anns:
        ann_dict = {}
        ann_dict["bbox"] = [ann["x_min"], ann["y_min"], ann["width"] + ann["x_min"], ann["height"] + ann["y_min"]]
        ann_dict["classname"] = ann["category"]
        if "score" in ann.keys():
            ann_dict["confidence"] = ann["score"]
        simple_json_anns.append(ann_dict)
    return simple_json_anns