Allows RemoteContext to be used in dicts