Add ability to output data as psql dump