properly set json validation status