Parse and pre-process the git --pretty=format: cli flag so we can parse the response to a JSON object.