Fix TopLevelCaster for types with arguments

Such as DECIMAL, where the default of (10,0) is prone to rounding/loss for literals.

The new test failed with an actual of `[items.price = 1235]` before the TypeResolver change.