Converting Counter to standard dict for mongo insertion