Adding responseType parameter

In POST parameter, if "responseType" is not set = standard "application/json" response.
If it is set to "download" the response is "application/octet-stream" to force webbrowser to download the GeoJson (output file name is based on the input file name submitted)