Node compiler: Fixed crash from invalid JSON