adding support for json passthrough to database