mongodb document inheritance