updated output formatter to work with taxonomy strings, updated unit tests