def __init__(self, filename='test'):
    Writer.__init__(self, filename)
    if (not self.filename.endswith('.json')):
        self.filename += '.json'
    self.content = {}
def __init__(self, filename='test'):
    Writer.__init__(self, filename)
    if (not self.filename.endswith('.json')):
        self.filename += '.json'
    self.content = {}