code: def _prepare_request_json(self, kwargs):
          
  
          # Check for python keywords in dict
          kwargs = self._check_for_python_keywords(kwargs)
  
          # Check for the key 'check' in kwargs
          if 'check' in kwargs:
              od = OrderedDict()
              od['check'] = kwargs['check']
              kwargs.pop('check')
              od.update(kwargs)
              return od
          return kwargs
docs: Prepare request args for sending to device as JSON.