Escapes line breaks in key and value.