Get a JSON compatible value

def json_data(self, instance, default=[]):
        """Get a JSON compatible value
        """
        value = self.get(instance)
        out = map(api.get_url_info, value)
        return out or default