make mapping have key and value as attribute values in csv/yaml, update all samples