added support for complex custom types that map into BasicBDList