simplification of mongo event store code