Cast values to JSON before a db operation. Traverses schema for the specified types (default `json`) and sets up dirac before filters for the specified operations (default `insert`, and `update`) to JSON.stringify the values