Execute the query inside of self.compiled_str. This method returns a JSON
           object for easy manipulation unless another format is specified

def run(self):
        """Execute the query inside of self.compiled_str. This method returns a JSON
           object for easy manipulation unless another format is specified"""
        self.compile()

        s = "%s&format=%s" % (self.compiled_str, self.format)
        s = "%s%s&env=%s" % (self.endpoint, s, urllib.parse.quote(self.store))

        self.conn.request("GET", s)
        r = self.conn.getresponse()
        r = r.read().decode('UTF-8')
        if self.format is "json":
            return json.loads(r)
        else:
            return r