add string escape options, bugfix timestamp detection