Modern ketchup emerged in the early years of the 20th century . This came from a debate over the use of sodium benzoate as a preservative in condiments . Modern ketchup emerged in the early years of the 20th century , out of a debate over the use of sodium benzoate as a preservative in condiments .