Rewriting db-convert-to-lisp and reverse