pub fn render(v: &Value) -> Result<(String, Option<String>, String)>
(command, object, the command element) for an action, or None for one that sends nothing.