remove last commit branch parameter to json-file