Hi Robert
Regarding GeoJson, once you export the file, it generate the code or script file on the browser.
Then What will be next?
I am little curious about using of GeoJSON inside your plugin.
Until I get your response let me configure geojson with geoserver to see/understand geojson functionality.
Regards
Sana