json now isn't declared globally anymore