switch to pg and default json