field_dict is not used by psycopg2 but only by dictionary based importer like the in-official CouchDB backend.
Just remove these lines.