NXBT-519 / NXBT-520: pass agent script parameters as json file