allow lists in ffi-wrap and ffi-unwrap
make the ffi produce actual Lists, add db ffi module