code: function getVal(target, key){
    var value = _.clone(target), keys;
    if(value[key]) return value[key];
    if((keys = key.split('.')).length === 0) return undefined;
    while(keys.length > 0){
      value = value[keys.shift()];
    }
    return value;
  }
docs: Get value corresponding to key containing "." from nested object. If key containing "." is proper in object (e.g. {"foo.bar": 100}) return 100.