update parsers for escaped characters, minor edits, add doc separator option