fixed make_cf_attrs for nested dicts