replaces checkpoint dict with Checkpoint object in profiler