archive: convert struct archiver_args to object_id