pub fn headers_to_json(headers: &HashMap<String, Vec<String>>) -> Value
Converts the headers map into a JSON struct