fixed json maker typo, pasted code from example