Fixed localization issue

Numbers in JSON would be parsed using the system locale. This should have
used an invariant culture instead.