Make decimal separator locale independent for JSON

@stolstov Please review.  For issue #66.