'Returns a JSON group object for the group matching the
specified path'

def get_group(self, fullpath):

    self.module.debug('Running    LogicMonitor.get_group...')
    self.module.debug('Making    RPC    call    to    getHostGroups')
    resp = json.loads(self.rpc('getHostGroups', {}))
    if (resp['status'] == 200):
        self.module.debug('RPC    called    succeeded')
        groups = resp['data']
        self.module.debug(('Looking    for    group    matching    ' + fullpath))
        for group in groups:
            if (group['fullPath'] == fullpath.lstrip('/')):
                self.module.debug('Group    match    found')
                return group
        self.module.debug('No    group    match    found')
        return None
    else:
        self.module.debug('RPC    call    failed')
        self.module.debug(resp)
    return None
