//////////////////////////////////////////////////////////////////////////// 
destructive -- mutates, returns reference only for convenience
function _stripKeysWithUndefinedValues(dictionary) {
  for (let k in dictionary) {
    if (dictionary[k] === undefined) {
      delete dictionary[k];
    }
  }
  return dictionary;
}