def get_status(mod_instances):
    """Creates the JSON dictionary representing the status"""
    ret = []
    for m, o in mod_instances:
        result = o.get_status()
        if not result:
            result = {}
        result['name'] = m
        ret.append(result)
    ret = {'data': ret, 'version': 0}
    return ret
