pub fn dispatch(method: &str, params: &Value) -> Result<Value, Value>
What a method does with its params; an error is a string, or {message, line} for a file that doesn’t parse.
{message, line}