json was added into the response with exit code and branch name