def _format_links_resource(data):
    """
    Format links of resources while meter_link equaling to 1
    Return formatted list of dicts
    """
    try:
        for elem in data:
            elem._info.setdefault(u'meter_links', [])
            _dicts = elem._info[u'links']
            i = 0
            while i < len(_dicts):
                if _dicts[i][u'rel'] != 'self':
                    elem._info[u'meter_links'].append(_dicts[i])
                    _dicts.pop(i)
                    i -= 1
                i += 1
        return data
    except Exception:
        return data
