The `"metadata"` key is retrieved here in an inconsistent way with `server_info` above (no `or None`). If that's necessary for some reason then it should probably be in a `get_metadata` function to record that subtle detail somewhere.  (If just `get` is right, then never mind.)