Use mongodb for server output