fixed assertion error during post/insert

fixed dbc assert: assertIsObject -> isObject

also, log JSON instead of `[object Object]`