Coerce headers object to list for comparison