Process string escapes correctly