slight improvements to conversion, investigating serialization methods for dbs