trimming dictionaries for benchmarks