pub fn build_json_object(params: &[(&str, Value)]) -> Value
Build a JSON object with the given parameters.