def METHOD_NAME(self):
    root_fdis = [self.fdi_to_json(f) for f in LookupTableRow.objects.iter_sorted(
        self.domain, self.data_types(0).id)]
    f_id = self.request.GET.get('fixture_id', None)
    selected_fdi_type = f_id.split(':')[0] if f_id else None
    selected_fdi_id = f_id.split(':')[1] if f_id else None
    if selected_fdi_id:
        lineage = self.generate_lineage(selected_fdi_type, selected_fdi_id)
        parent = {'children': root_fdis}
        for i, fdi in enumerate(lineage[:-1]):
            this_fdi = [f for f in parent['children']
                        if f['id'] == fdi.get_id][0]
            next_h = self.hierarchy[i + 1]
            this_fdi['children'] = [self.fdi_to_json(f) for f in
                                    LookupTableRow.objects.with_value(
                                        self.domain,
                                        self.data_types(i + 1).id,
                                        next_h["parent_ref"],
                                        fdi.fields_without_attributes[next_h["references"]])]
            parent = this_fdi
    return {
        'api_root': self.api_root,
        'control_name': self.label,
        'control_slug': self.slug,
        'selected_fdi_id': selected_fdi_id,
        'fdis': json.dumps(root_fdis),
        'hierarchy': self.full_hierarchy
    }