Add spec to mongo object