General purpose CLI utility.

By rights all the cli scripts we write should have
this stuff factored out
converter from manual annotations to comparable
utility to print out matches from json
Note annotation infrastructure