def json_to_file(self, target, sort=True, indent=0):
        json_encoder.FLOAT_REPR = float_to_string
        if indent > 0:
            return json_dump(self.asset, target, sort_keys=sort, indent=indent)
        else:
            return json_dump(self.asset, target, sort_keys=sort, separators=(',', ':'))
usage: ``HQUserType.DEMO_USER in selected_user_types``
dataset/ETHPy150Open turbulenz/turbulenz_tools/turbulenz_tools/tools/asset2json.py/JsonAsset.json_to_file--crossover with--dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/reports/filters/users.py/ExpandedMobileWorkerFilter.selected_user_types