curl_json plugin: warn when config expects a map and a number is provided