Improve support for dbtypes not handled natively by Doctrine