Implementing time intervals as mongo objects with a start and end date