def to_json(self, as_string=False, pretty=False):
        """Returns an OrderedDict of the installation attributes"""
        od = OrderedDict()

        od['id'] = self.id
        od['name'] = self.name
        od['full_name'] = self.full_name
        od['is_active'] = self.is_active
        od['description'] = self.description
        od['lat'] = self.lat
        od['lng'] = self.lng

        od['logo'] = '%s://%s%s' % (settings.SWAGGER_SCHEME,
                                    settings.SWAGGER_HOST,
                                    self.logo.url)
        #marker = self.marker
        od['url'] = self.url
        od['slug'] = self.slug
        od['version'] = self.version if self.version else None
        return od