Convert the output of "git log" to a ready-to-use json file