def fix_ensure_time_attrib(json):
    """Ensure that requested attributes include the 'time' attribute"""
    if 'attrs' not in json:
        json['attrs'] = []
    if 'time' not in json['attrs']:
        json['attrs'].append('time')
    return json
