printWeights(): oops, can't convert a tuple to UTF-8