1. Pass the JSON string into the server action.
2. Write the result to a file and return the binary to the front-end for download.