We need to let the db generate the database document, not the client (we need it to send the settings)