Added ability to generate a git properties file in json format.

We use maven to do builds for languages besides java - it would be nice to have support for JSON built in. Maven resource filtering doesn't do the trick because characters will not be properly escaped.