patching package and hubot scripts json files