Add 6th parameter 'original' to applyPayloadConfigWithRoot to support checking defaults against the original payload. This enables proper default rule validation when translating between formats. Based on upstream 2a663d5c.
2a663d5c