@hep.over('<STR_LIT>', '<STR_LIT>')<EOL>@utils.flatten<EOL>@utils.for_each_value<EOL>def collaborations(self, key, value):
result = []<EOL>for g_value in force_list(value.get('<STR_LIT:g>')):<EOL><INDENT>collaborations = normalize_collaboration(g_value)<EOL>if len(collaborations) == <NUM_LIT:1>:<EOL><INDENT>result.append({<EOL>'<STR_LIT>': get_record_ref(maybe_int(value.get('<STR_LIT:0>')), '<STR_LIT>'),<EOL>'<STR_LIT:value>': collaborations[<NUM_LIT:0>],<EOL>})<EOL><DEDENT>else:<EOL><INDENT>result.extend({'<STR_LIT:value>': collaboration} for collaboration in collaborations)<EOL><DEDENT><DEDENT>return result<EOL>
Populate the ``collaborations`` key.