app.json to pgsql