Properly set json validation for large files