Support Dicts for make_insert_sql and some exception catching