@staticmethod
def _json_list_collections(manifest: Dict[(str, Any)], scope_dict: Dict[(str, bool)]):
    out = {}
    for scope in manifest['scopes']:
        if ((len(scope_dict) == 0) or (scope['name'] in scope_dict)):
            out[scope['name']] = [collection['name'] for collection in scope['collections']]
    print(json.dumps(out, indent=4))
@staticmethod
def _json_list_collections(manifest: Dict[(str, Any)], scope_dict: Dict[(str, bool)]):
    out = {}
    for scope in manifest['scopes']:
        if ((len(scope_dict) == 0) or (scope['name'] in scope_dict)):
            out[scope['name']] = [collection['name'] for collection in scope['collections']]
    print(json.dumps(out, indent=4))