remove all dependency on eval() in frequency report, use strings and tuples instead