with open(outputfile, 'w') as e:
        e.write(json.dumps(jsondict, separators=(',', ': '),