Some approch to get references to be serialized as link (via attribute)

NOT FINISHED AT ALL!