add enum JSON; change InvalidObjectId to mgo.ErrNotFound