add ScanJson method
change json unmarshalling
add IndexTemplate
add basic support for aggregations
add support for nils
extract rev and uuid from logs
allow parsing the current file from beginning
add some more tests