Turns out, prompt truncates to 2000 characters - have to use a textarea to display exported game state.