Adjust logic to validate once optionally after decoding (#49)
* Adjust logic to validate once optionally after decoding
* Enhanced checks and tests
* Address review feedback
* Fix
* allow to access elementschema of the array
* address review feedback
* Enhance tests