import json


def make_json_entry(data):
    """Return JSON entry to be added to indiacovid19.json."""
    j = [
            data.ref_date,
            data.active,
            data.cured,
            data.death,
            data.ref_date + ' ' + data.ref_time,

            'https://indiacovid19.github.io/webarchive/mohfw/{}_{}/'
            .format(data.ref_date, data.ref_time.replace(':', '')),

            ''
    ]
    return '  ' + json.dumps(j)