Allow activity summary output in json
Do not track generated files
Make sure mime_type metadata is stored properly.
Refactor record preprocessing