modifies mongo schema, adds createdAt field