feat(javascript): json_encode the values passed to tiny config so it can accept anything any of the plugins might want (hashes, etc).
fix(script): json handles arrays properly, so skipping script unneccessary