Fix JSON parsing issue in maker.js