'Recursively build request parameter dictionary from command line args.
:param str arg_path: Current parameter namespace.
:param dict kwargs: The request arguments being built.
:param param: The name of the request parameter.
:param value: The value of the request parameter.'

def _build_parameters(self, path, kwargs, param, value):

    keys = path.split('.')
    if (keys[0] not in kwargs):
        kwargs[keys[0]] = {}
    if (len(keys) < 2):
        kwargs[keys[0]][param] = value
    else:
        self._build_parameters('.'.join(keys[1:]), kwargs[keys[0]], param, value)
    path = param[0]
    return path.split('.')[0]
