save models for mongoose before sending db instance