I would like to be able to pass in an interface that represents my open-rpc method mapping, and have the method mapping be strongly typed.