Link struct UnmarshalJSON implementation fix + test