avoid inserting duplicate tags

there is no reason for duplicate @tags, but it did happen then i was reading json_event data from file which already had a tag set and file input added a duplicate tag