moved jsonupdater, split up string and json methods better