npm install debug module, so we don't here complaints anymore
Fixed missing JSON.parse