Allow passing strings instead of ObjectIds from the frontend by using the mongoose constructor