add a jsonhelpers lib, make git-list and git-detail use it