tokens: You can use reflection - get property accessor ( Type.GetProperty ) by name ( you 'll need to specify IgnoreCase when getting one as your names seem to be all lower case ) and than GetValue of property using accessor .
ner_tags: O O O O O O O O O B-Function O O O O O O O O O B-Variable O O O O O O O O O O O O O O O B-Function O O O O O