JsonModel: Use configuration instead of relying on the default.

Required for .getSubModel when using a custom provider.