fixed RelatedLinksConvertor to write json for umbraco versions >= 7