Fix parser test to match new class of valid numbers.
Allow semantic equality checks on JsonDecimals.

This adds a `normalized` method to JsonDecimal which allows us to
compare JsonDecimals for *numeric* equality, even though we cannot
represent them as BigDecimal, in general.