tools/smaz: genericize Parallel_Evaluate_Dictionary