Change to manual escaping of character vectors