Realized that anonymous function in motivations->layer-scores could be
replaced by one call to merge-with