don't assume JSON is loaded yet