json: don't force fractional representation for integer style numbers