Tweaks to REST endpoints
Fix PK error when merging a tag with a tag which is already associated to the same link