def jsonable(self):
    return {'type': 'Field Extension', 'F': self.F, 'irpoly': self.irpoly, 'degree': (self.deg - 1)}
def jsonable(self):
    return {'type': 'Field Extension', 'F': self.F, 'irpoly': self.irpoly, 'degree': (self.deg - 1)}