<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def request(self, command, **kwargs):
 """Function that builds the request and returns the response from oxd-server Parameters: * **command (str):
** The command that has to be sent to the oxd-server * ** **kwargs:** The parameters that should accompany the request Returns: **dict:** the returned response from oxd-server as a dictionary """

        payload = {
            "command": command,
            "params": dict()
        }
        for item in kwargs.keys():
            payload["params"][item] = kwargs.get(item)

        if self.access_token:
            payload["params"]["protection_access_token"] = self.access_token

        return self.send(payload)