Fixed writing numbers in JSON files (Qt changes locale).