use native JSON.stringify for escaping