search a email document for named entities, print as json