Respond with JSON to /download