Add utils for easily creating annotated.json.gz files in results dirs