get sub documents from mongodb