refactored motivations->sv to make more general function to create map from value of one key in motivations vector to another