tokens: I think the best you could do is use the ternary operator to perform null checks and evaluate an alternative to the entire expression if any member in the chain is null :
ner_tags: O O O O O O O O O O O O O O B-Value O O O O O O O O O O O O O O O O B-Value O