readd a format function to quote strings but its execution is after dictionaries merging