<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def wo_resp(self, resp):
 """ can override for other style """

        if self._data is not None:
            resp['res'] = self.to_str(self._data)

        return self.wo_json(resp)