now the client is able to get a proper URL to get the result directly into a file instead of a json object