make escape/unescaping functions public