s3:idmap_tdb: convert to the dbwrap api