THRIFT-2360 Json Generator

Patch: Craig Peterson, Peter Neumark & Roger Meier

Github Pull Request: This closes #247