add json representation methods
add json representation methods to GLDiff
add json representation methods for GLCommit
clean up and adding json representation method