serialize references (triggered by attribute) as link

DO SPECS!