def METHOD_NAME(self, o):
    pids = [p['value'] for p in o['metadata']['_pid']
            if p['type'] in {'ePIC_PID', 'DOI'}]
    alt_ids = [x['alternate_identifier']
               for x in o['metadata'].get('alternate_identifiers', [])]
    return [dict(standard_number_or_code=x) for x in chain(pids, alt_ids)]