Fixed typo in to_dict() of ImageInfo