protected function _prepareParamsData(\ArrayObject $data)
    {
        if (isset($data['params'])) {
            $params = new JSON((array) $data['params']);
            $data->offsetSet('params', $params);
        }
    }