Sql insert query list of dictionaries