add maybe_escape/2 function for future use
tighten input/output of maybe_escape
shiny and new string cleaning for encoder and parser
Merge branches 'new_strings' and 'newtest' into newtest