Fixed typo in JSON generation