add a way to convert dbid -> uuid