Ensure settings json data is written correctly.