convert date objects in params to db datestring + show sql and param value on error
Merge branch 'master' of github.com:jakobrun/jt400