Fixed JSON format, added a console.