writing to JSON file on my platform/install form

Will work on other platforms and stuff whenever I get to them.
Who uses Windows/OSX anyway?