add self-links to representations