Added getting global links from CustomJsonSerializer<T> (unused serializer arg removed)