escape '\f' in json_escape_str

'\f' is a llegal char and should be escape in printbuf