Currently validation is done only in the `FromJSONSource` function. Add support for validating struct built by `builder`