<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def to_dict(self):
 """Pack the load averages into a nicely-keyed dictionary."""

        result = {}
        for meta in self.intervals.values():
            result[meta.display] = meta.value
        return result