def METHOD_NAME(self, req, resp, resource):
    """
    set body from json property on response
    :type req: MonitorrentRequest
    :type resp: MonitorrentResponse
    """
    if resp.json is None:
        return
    resp.body = json.dumps(resp.json, cls=MonitorrentJSONEncoder, ensure_ascii=False)