Add bounding box info when saving to a JSON file