dumping raw data from postgres
wip