def drop_empty_props(item):
    """Remove properties with empty strings from nested dicts.
    """
    if isinstance(item, list):
        return [drop_empty_props(i) for i in item]
    if isinstance(item, dict):
        return {
            k: drop_empty_props(v)
            for k, v in item.items() if v != ''
        }
    return item