The whole thing can now be:
    return dict(
        (str_to_unicode(key), str_to_unicode(value))
        for key, value in data
    )