Validating data loaded from JSON