more data conversion refinement
begin psycopg2 stuff
postgres stuff