SLING-3547, fix handling of numeric defaults (also for primitive arrays)