'Convert host params to dict'

def _resolve_params(self, host_params):

    params = {}
    for param in host_params:
        name = param['name']
        if self.rich_params:
            try:
                params[name] = json.loads(param['value'])
            except ValueError:
                params[name] = param['value']
        else:
            params[name] = param['value']
    return params
