load setup from stringified JSON in script