renamed idx 'i' -> 'bbox_id'
added bbox_id (resets for each image, starting from 1) to detectionDetails