headers should be a dictionary and not a list of tupled.