refactor: reduce scale of temporaries when getting dictionary values
.c_str()
absl::StrFormat()
window.print()