<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def install_json_params(self, ij=None):
 """Return install.json params in a dict with name param as key. Args: ij (dict, optional):
 Defaults to None. The install.json contents. Returns: dict: A dictionary containing the install.json input params with name as key. """

        if self._install_json_params is None or ij is not None:
            self._install_json_params = {}
            # TODO: support for projects with multiple install.json files is not supported
            if ij is None:
                ij = self.install_json
            for p in ij.get('params') or []:
                self._install_json_params.setdefault(p.get('name'), p)
        return self._install_json_params