It already has one: Varlink ( https://varlink.org/ ). For pretty much the reasons outlined by the topic starter.