async toPublicJSON(showTags = false, certExpiry = false) {
        let monitorBeanList = await this.getMonitorList();
        let monitorList = [];

        for (let bean of monitorBeanList) {
            monitorList.push(await bean.toPublicJSON(showTags, certExpiry));
        }

        return {
            id: this.id,
            name: this.name,
            weight: this.weight,
            monitorList,
        };
    }
Return an object that ready to parse to JSON for public Only show
necessary data to public
@param {boolean} showTags Should the JSON include monitor tags
@param {boolean} certExpiry Should JSON include info about
certificate expiry?
@returns {Promise<object>} Object ready to parse