Setup scripting for json response. - part 1.