Hmm...that's not what this does. This creates a map from parameter position to keys in the output object, which may or may not be the same thing. for example, if you're building post-byId, and you function is function handler(post) {}, you will get ['post-byId'], not ['post']

not that i have a better name for this function. maybe mapOutputKeysToArgs?