Implement Icon serialization.
Override toString() to return <uri> on SHA1ObjectReference and SoftResourceHandle.