if (typeof self._doc.expose === 'string') {
                            self._doc.expose = JSON.parse(self._doc.expose);
                        }