much more tests and corrections
commas should not be escaped inside list elements